package com.honeycomb.utils;

import org.apache.log4j.Logger;

/**
 * 错误消息常量
 * 
 * @author Wangyu
 */
public class ErrorMsgConstants {

		public static final String ERR_USER = "登录信息错误";
		public static final String ERR_LOGIN = "对不起，请先登录后再操作";
		public static final String ERR_SYSTEM = "对不起，服务器忙，请稍后重试。";
		
		public static final String ERR_USERID_IS_EXIST = "对不起，该用户名已被注册！";
		public static final String ERR_USER_LOGIN_WRONG = "登录失败：用户名或密码错误。";
		public static final String ERR_USER_LOGIN_DISABLE_WRONG = "登录失败：该账户已禁用。";
		public static final String ERR_USER_ = "登录信息错误！！";
		public static final String ERR_CHECK = "请重新输入！";
		public static void handleException(Exception ex, Logger logger) {
			logger.error(ex.getMessage(), ex);
		}
	
		public static String encoderExceptionMessage(String errorMessage) {
			
			return errorMessage;
		}
	
	}
